package org.xserver.component.json.bean;

import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;

public class RandomChannel implements Serializable {

	private static final long serialVersionUID = -6373204605078758797L;

	private String id;

	// 0频道ID
	@JsonProperty("zerochannelitemid")
	private String zeroChannelItemId;

	// 频道ID
	@JsonProperty("channelitemid")
	private String channelItemId;
	// 预约播放时间
	@JsonProperty("preplaydate")
	private String prePlayDate;

	@JsonProperty("preplaystarttime")
	private String preplayStartTime;

	@JsonProperty("preplayendtime")
	private String preplayEndTime;

	// 频道名称
	@JsonProperty("channelname")
	private String channelName;

	// 频道号
	@JsonProperty("channelnumber")
	private Integer channelNumber;

	// 播放方式 0 随机切换 1定时切换
	@JsonProperty("playtype")
	private int playType;

	// 重复时间
	@JsonProperty("repeatweeks")
	private List<Integer> repeatWeeks;

	// 重复时间text
	@JsonProperty("repeatweekstext")
	private List<String> repeatWeeksText;

	// 是否重复
	@JsonProperty("isrepeat")
	private Integer isRepeat;

	@JsonProperty("text")
	private String text;

	@JsonProperty("programname")
	private String programName;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getChannelItemId() {
		return channelItemId;
	}

	public void setChannelItemId(String channelItemId) {
		this.channelItemId = channelItemId;
	}

	public String getPrePlayDate() {
		return prePlayDate;
	}

	public void setPrePlayDate(String prePlayDate) {
		this.prePlayDate = prePlayDate;
	}

	public String getPreplayStartTime() {
		return preplayStartTime;
	}

	public void setPreplayStartTime(String preplayStartTime) {
		this.preplayStartTime = preplayStartTime;
	}

	public String getPreplayEndTime() {
		return preplayEndTime;
	}

	public void setPreplayEndTime(String preplayEndTime) {
		this.preplayEndTime = preplayEndTime;
	}

	public String getChannelName() {
		return channelName;
	}

	public void setChannelName(String channelName) {
		this.channelName = channelName;
	}

	public Integer getChannelNumber() {
		return channelNumber;
	}

	public void setChannelNumber(Integer channelNumber) {
		this.channelNumber = channelNumber;
	}

	public int getPlayType() {
		return playType;
	}

	public void setPlayType(int playType) {
		this.playType = playType;
	}

	public List<Integer> getRepeatWeeks() {
		return repeatWeeks;
	}

	public void setRepeatWeeks(List<Integer> repeatWeeks) {
		this.repeatWeeks = repeatWeeks;
	}

	public String getZeroChannelItemId() {
		return zeroChannelItemId;
	}

	public void setZeroChannelItemId(String zeroChannelItemId) {
		this.zeroChannelItemId = zeroChannelItemId;
	}

	public List<String> getRepeatWeeksText() {
		return repeatWeeksText;
	}

	public void setRepeatWeeksText(List<String> repeatWeeksText) {
		this.repeatWeeksText = repeatWeeksText;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public Integer getIsRepeat() {
		return isRepeat;
	}

	public void setIsRepeat(Integer isRepeat) {
		this.isRepeat = isRepeat;
	}

	public String getProgramName() {
		return programName;
	}

	public void setProgramName(String programName) {
		this.programName = programName;
	}
}
